// import './assets/main.css'

import { createApp } from 'vue'
import Home from './Home.vue'
import Header from './components/Header.vue'
import Footer from './components/Footer.vue'

// 导入element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

// 导入路由
import router from './router'

// createApp(App).mount('#app')
const app = createApp(Home)

// 全局注册组件
app.component('Header', Header)
app.component('Footer', Footer)

app.use(ElementPlus)
app.use(router)
app.mount('#app')
